12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 검사결과관리[일반건진]
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.07.13
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptinfo>
- <item>
- <pid/>
- <hngnm/>
- <rgstno1/>
- <rgstno2/>
- <sex/>
- <age/>
- <cmpycd/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <schlgrde/>
- <clsid/>
- <stuid/>
- <plceflag/>
- <orddd/>
- <judgdd/>
- <judgdrid/>
- <drnm/>
- <reexamfg/>
- </item>
- <rsltlst>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst>
- <rsltlst2>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst2>
- <judginfo>
- <licncrjudg>
- <judgdd/>
- <judgdrid/>
- <reactexammthd/>
- <reactexamrslt/>
- <reactexamrsltval/>
- <reactexamrsltbval/>
- <colonreadcmt1/>
- <colonreadcmtpolyp1/>
- <colonsickpos1/>
- <colonreadcmt2/>
- <colonreadcmtpolyp2/>
- <colonsickpos2/>
- <colonreadcmt3/>
- <colonreadcmtpolyp3/>
- <colonsickpos3/>
- <colonreadcmtetc/>
- <colonreadcmtetcrem/>
- <liescopetestyn/>
- <liescopereadcmt1/>
- <liescopereadcmtpolyp1/>
- <liescopereadcmtexcision1/>
- <liescopesickpos1/>
- <liescopereadcmt2/>
- <liescopereadcmtpolyp2/>
- <liescopereadcmtexcision2/>
- <liescopesickpos2/>
- <liescopereadcmt3/>
- <liescopereadcmtpolyp3/>
- <liescopereadcmtexcision3/>
- <liescopesickpos3/>
- <liescopereadcmtetc/>
- <liescopereadcmtetcrem/>
- <tissexamyn/>
- <tissdiagpathotissexamcnt/>
- <tissdiagobscmt/>
- <tissdiagcncr/>
- <tissdiagcncrrem/>
- <tissdiagetc/>
- <tissdiagetcrem/>
- <judgcolonflag/>
- <judgcolonflagrem/>
- <judgreactflag/>
- <oldlicncrpatyn/>
- <judgexamcnts/>
- </licncrjudg>
- <specjudg/>
- <genrjudg/>
- <batchlicncrjudg>
- <judgdd/>
- <judgdrid/>
- <reactexammthd/>
- <reactexamrslt/>
- <reactexamrsltval/>
- <reactexamrsltbval/>
- <colonreadcmt1/>
- <colonreadcmtpolyp1/>
- <colonsickpos1/>
- <colonreadcmt2/>
- <colonreadcmtpolyp2/>
- <colonsickpos2/>
- <colonreadcmt3/>
- <colonreadcmtpolyp3/>
- <colonsickpos3/>
- <colonreadcmtetc/>
- <colonreadcmtetcrem/>
- <liescopetestyn/>
- <liescopereadcmt1/>
- <liescopereadcmtpolyp1/>
- <liescopereadcmtexcision1/>
- <liescopesickpos1/>
- <liescopereadcmt2/>
- <liescopereadcmtpolyp2/>
- <liescopereadcmtexcision2/>
- <liescopesickpos2/>
- <liescopereadcmt3/>
- <liescopereadcmtpolyp3/>
- <liescopereadcmtexcision3/>
- <liescopesickpos3/>
- <liescopereadcmtetc/>
- <liescopereadcmtetcrem/>
- <tissexamyn/>
- <tissdiagpathotissexamcnt/>
- <tissdiagobscmt/>
- <tissdiagcncr/>
- <tissdiagcncrrem/>
- <tissdiagetc/>
- <tissdiagetcrem/>
- <judgcolonflag/>
- <judgcolonflagrem/>
- <judgreactflag/>
- <oldlicncrpatyn/>
- <judgexamcnts/>
- </batchlicncrjudg>
- </judginfo>
- <inqrlst>
- <item>
- <inqrcd/>
- <inqrnm/>
- <answcd/>
- <answcnts/>
- <remcnts/>
- <answflag/>
- <inptflag/>
- <inqrflag/>
- </item>
- </inqrlst>
- </acptinfo>
- <tempinfo>
- <rslttext>
- <rsltcnts/>
- <rslt_idx/>
- <rslt_col/>
- </rslttext>
- <anslst>
- <anslst>
- <item>
- <answcd/>
- <answcnts/>
- <answcnts/>
- <reminptyn/>
- </item>
- </anslst>
- </anslst>
- <choilst>
- <item3>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </item3>
- <item4>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </item4>
- </choilst>
- <answcd/>
- <assorsltlst>
- <itemasso>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </itemasso>
- </assorsltlst>
- </tempinfo>
- </main>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
- <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- <submission id="TXAHR02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHR02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHR02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "G";
- function fViewNum(){
- window.parent.javascript.vidx = "1";
- }
-
- /**
- * 소견 및 조치내용 가져오기
- * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
- * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
- * SPAHR00300_PARAM1: 다중선택여부(Y/N)
- * SPAHR00300_PARAM2: 목적노드Set
- * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
- * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
- * SPAHR00300_PARAM5: 종합판정문구검색코드
- * SPAHR00300_PARAM6: 종합판정문구검색내용
- * SPAHR00300_PARAM7: 건진구분
- */
- function fGetJudgExmpCnts(vEditObj,jCode){
- if( vEditObj == null ) return ;
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM1", "Y");
- setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00300_PARAM8", jCode );
- modal("SPAHR00300", 100, 100, "SPAHR00300");
-
- if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
- for( var i = 0 ; i < vNodeList.length ; i++){
- vJudgCnts += "- "+vNodeList.item(i).judghangcnts.text;
- }
- model.setValue( vEditObj.attribute("ref") , vJudgCnts );
- vEditObj.refresh();
- }
-
- function fCheckExamInfo(){
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
- model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
-
- if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
- messageBox("유효하지 않은 데이터 입니다!", "E999");
- return false;
- }
- model.setValue("/root/send/srchrsrvdd" , rsrvdd );
- model.setValue("/root/send/srchrsrvno" , rsrvno );
- model.setValue("/root/send/srchpid" , pid );
- model.setValue("/root/send/srchorddd" , orddd );
- model.setValue("/root/send/srchcretno" , cretno );
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- //model.setValue("/root/send/srchpkgcd" , pkgcd);
- }
-
- /**
- *건진내역별 상세내역가져오기( 판정내역조회)
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- */
- function fGetJudgInfo( ){
- if( fCheckExamInfo() == false ) return ;
- openLoadingBar("판정정보 ") ;//처리중 화면을 오픈한다.
- model.makeValue("root/send/srchhealexamflag","G");
- submit("TRAHR02601") ;
-
- // 특정값에 따라 Disabled 여부 결정
- fDisabledChk();
-
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 check
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
- =====================================================================================*/
- function fCheckSaveInfo(){
-
- var idx = opener.grd_acptlst.row;
- if( idx < 1 ) {
- return false;
- }
-
- if( m_vHealexamflag == "" ) {
- messageBox("업무구분이 존재하지 않습니다.", "E999");
- return false;
- }
- var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
-
- model.removenode("/root/send/save");
- model.refresh();
-
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
-
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/healexamflag" , m_vHealexamflag );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/healexamdetlflag" , fGetHealExamFlag() );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/rsrvdd" , rsrvdd );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/rsrvno" , rsrvno );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/pid" , pid );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/orddd" , orddd );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/cretno" , cretno );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/pkgcd" , pkgcd );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/sex" , model.getValue("/root/main/acptinfo/item/sex") );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/age" , model.getValue("root/main/acptinfo/item/age") );
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/judgcd" , "L");
- return true ;
- }
- /*===================================================================================
- ** 판정입력구분
- *1 - 1차 + 구강
- *2 - 2차
- *S - 특수건진
- *B - 혈액정밀
- *C - 암건진
- ===================================================================================*/
- function fGetJudgInptFlag() {
- var judg_idx = swt_judg.selectedIndex ;
- var ret = "1" ;
- switch ( judg_idx ) {
- case 0:
- ret = "1" ;
- break;
- case 1:
- ret = "2" ;
- break;
- case 2:
- ret = "1" ;
- break;
- case 3:
- ret = "S" ;
- break;
- case 4:
- ret = "B" ;
- break;
- case 5:
- ret = "C" ;
- break;
- default:
- ret = "1" ;
- break;
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 판정입력
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *판정내역 :
- @param :bCheckSave => true이면 저장기본정보 check.
- 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
- =====================================================================================*/
- function fSaveJudg(saveflag ){
- var ret = false;
- var signedData = "";
-
- // if( bCheckSave == true ){
- // if( !fCheckSaveInfo() ) return ret ;
- // }
-
- if( !fCheckSaveInfo() ) return ret ;
- model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/saveflag", saveflag);
-
- //model.setValue("/root/send/save/judginptflag", "L" );
-
- if ( saveflag == "J" ) {
- if( model.getValue( cmb_scndjudgdrid.attribute("ref") ) == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }
-
- var licncr_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/licncrjudg"));
-
- // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
- /************************************************************************************************************
- 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
- *************************************************************************************************************/
- //signedData = zesfSignData( licncr_judg , getUserId(), true );
-
- //if(signedData == null || signedData == "") return;
- openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
-
- } else if ( saveflag == "R" ) {
- openLoadingBar("결과 저장 중입니다..") ;//처리중 화면을 오픈한다.
- }
- model.makeNode("/root/send/save/savejudg");
- model.resetInstanceNode("/root/send/save/savejudg");
- model.copyNode("/root/send/save/savejudg", "/root/main/acptinfo/judginfo/licncrjudg");
- //ret = submit("TXAHR01002");
- ret = submit("TXAHR02601");
- closeLoadingBar() ;//처리중 화면을 close한다.
-
- //정상적 저장 시 판정내역 재 조회
- if(ret == true){
- fGetJudgInfo();
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 일괄판정입력
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *판정내역 :
- =====================================================================================*/
- function fSaveBatchJudg(saveflag ){
- var ret = false;
- var chk = false;
- var signedData = "";
-
- model.makeValue("/root/main/acptinfo/judginfo/batchlicncrjudg/saveflag", saveflag);
-
- opener.grd_acptlst.clearStatus();
-
- // 대상자 중 선택내역을 체크한다.
- for(var i=1; i < opener.grd_acptlst.rows; i++) {
- var sel = opener.grd_acptlst.valueMatrix( i , opener.grd_acptlst.colRef("sel"));
- var assorsltcdflag = opener.grd_acptlst.valueMatrix( i , opener.grd_acptlst.colRef("assorsltcd"));
- if(sel == "Y") {
- opener.grd_acptlst.rowStatus(i) = 2;
- }
-
- if(assorsltcdflag == "Y") {
- chk = true;
- }
- }
- var saveBatchAcpt = getGridUpdateData(opener.grd_acptlst);
-
- if(chk) {
- messageBox("양성인 대상자가 선택되어" , "I010");
- return;
- }
- if(saveBatchAcpt == "") {
- messageBox("선택된 내역이" , "I004");
- return ;
- }
-
- if ( saveflag == "J" ) {
- if( model.getValue("/root/main/acptinfo/judginfo/batchlicncrjudg/judgdrid") == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }
-
- var licncr_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/batchlicncrjudg"));
-
- // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
- /************************************************************************************************************
- 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
- *************************************************************************************************************/
- //signedData = zesfSignData( licncr_judg , getUserId(), true );
-
- if(signedData == null || signedData == "") return;
- openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
-
- } else if ( saveflag == "R" ) {
- openLoadingBar("결과 저장 중입니다..") ;//처리중 화면을 오픈한다.
- }
-
- model.makeValue("/root/main/acptinfo/judginfo/batchlicncrjudg/judgcd" , "L"); // 판정 셋팅
- model.makeNode("/root/send/save/savejudg");
- model.resetInstanceNode("/root/send/save/savejudg");
- model.copyNode("/root/send/save/savejudg", "/root/main/acptinfo/judginfo/batchlicncrjudg");
- model.makeValue("/root/send/save/savejudg/acptinfo" , saveBatchAcpt);
- ret = submit("TXAHR02602");
- closeLoadingBar() ;//처리중 화면을 close한다.
-
- //정상적 저장 시 판정내역 재 조회
- /*if(ret == true){
- fGetJudgInfo();
- }*/
- return ret;
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 초기화
- =====================================================================================*/
- function fInitSaveData(){
- model.resetInstanceNode("/root/send/save");
- }
-
-
- function fInitDasplay() {
- //1차건진 판정코드
- model.copyNode("/root",opener.root);//parent
- nodenumber = 0;
-
- fCtrlSize();
-
- fSetGridInitState(grd_rsltlst);
-
- btn_fstjudg.selected = true;
- model.toggle("case_first");
-
- grd_rsltlst.clearStatus();
-
- if (cmb_reactexammthd.value =='') {
- cmb_reactexammthd.select(0);
- cmb_reactexamrslt.select(0);
- var nodeList = instance1.selectNodes("/root/main/acptinfo/rsltlst/item");
- for (var i=0 ; i<nodeList.length ; i++) {
- if (model.getValue("/root/main/acptinfo/rsltlst/item["+ i + "]/testcd") == 'LUP102' && model.getValue("/root/main/acptinfo/rsltlst/item["+ i + "]/assorsltcd") == '2') {
- cmb_reactexamrslt.select(1);
- }
- }
- }
-
- // 특정값에 따라 Disabled 여부 결정
- fDisabledChk();
- }
-
- function fInitDasplayResult(){
- model.copyNode("/root", opener.root);//parent
- model.refresh();
-
- }
-
- function fdataValue(vTestcd,vSubcd){
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
-
- for (var i=0; i<=nodeCount;i++){
- // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
- }
- }
- }
-
- /**
- ** 결과입력 grid size 늘이기/줄이기
- */
- function fSetRsltSwtSize( bLarge ){
- //기존상태 높이
- if(getUserInfo("dutplceinstcd") == "011"){
- var cur_height = 184;
- var max_height = 538;
- }else{
- var cur_height = 214;
- var max_height = 562;
- }
-
- if( bLarge == true ){
- cur_height = max_height ;
- btn_large.visible = false;
- btn_small.visible = true;
- }
- else {
- btn_large.visible = true;
- btn_small.visible = false;
- }
-
- grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
- }
-
- function fdataValueAsso(vTestcd,vSubcd){
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
-
- for (var i=0; i<nodeCount;i++){
-
- //if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }
- }
- }
- // 특정값에 따라 Disabled 여부 결정
- function fDisabledChk() {
- /*
- rdo_colonreadcmt1.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt1");
- rdo_colonreadcmt2.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt2");
- rdo_colonreadcmt3.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt3");
- */
-
- var colonreadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetc");
- var bol = isSearchString(colonreadcmtetc ,"10");
- if (bol == true) {
- ipt_colonreadcmtetcrem.disabled = false;
- } else {
- ipt_colonreadcmtetcrem.disabled = true;
- }
-
- /*
- rdo_liescopereadcmt1.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt1");
- rdo_liescopereadcmt2.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt2");
- rdo_liescopereadcmt3.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt3");
- */
-
- var liescopereadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetc");
- var bol = isSearchString(liescopereadcmtetc ,"10");
- if (bol == true) {
- ipt_liescopereadcmtetcrem.disabled = false;
- } else {
- ipt_liescopereadcmtetcrem.disabled = true;
- }
-
- var tissdiagcncr = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncr");
- var bol = isSearchString(tissdiagcncr ,"11");
- if (bol == true) {
- ipt_tissdiagcncrrem.disabled = false;
- } else {
- ipt_tissdiagcncrrem.disabled = true;
- }
-
- var tissdiagetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagetc");
- var bol = isSearchString(tissdiagetc ,"05");
- if (bol == true) {
- ipt_tissdiagetcrem.disabled = false;
- } else {
- ipt_tissdiagetcrem.disabled = true;
- }
-
- rdo_judgcolonflag.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag");
-
- rdo_liescopereadcmt1.dispatch("xforms-value-changed");
- rdo_colonreadcmt1.dispatch("xforms-value-changed");
-
- }
- /**************************************************************************************************************************
- @ desc : 대장암 일괄적용 초기화
- ***************************************************************************************************************************/
- function fInitBatchLicncr() {
- rdo_batchjudgcolonflag.select(0);
- }
-
- /*사업장코드가 011(여의도성모)일 경우 크기 조정필요*/
- function fCtrlSize(){
- if(getUserInfo("dutplceinstcd") == "011"){
- btn_fstjudg.attribute("top") = 189 + "px";
- btn_secondjudg.attribute("top") = 189 + "px";
- btn_lifejudg.attribute("top") = 189 + "px";
- button4.attribute("top") = 189 + "px";
- btn_batjudgview.attribute("top") = 190 + "px";
- button2.attribute("top") = 190 + "px";
- btn_judg.attribute("top") = 190 + "px";
- swt_judg.attribute("top") = 210 + "px";
- grp_batjudg.attribute("top") = 120 + "px";
- grd_rsltlst.attribute("height") = 184 + "px";
- }else{
- btn_fstjudg.attribute("top") = 219 + "px";
- btn_secondjudg.attribute("top") = 219 + "px";
- btn_lifejudg.attribute("top") = 219 + "px";
- button4.attribute("top") = 219 + "px";
- btn_batjudgview.attribute("top") = 220 + "px";
- button2.attribute("top") = 220 + "px";
- btn_judg.attribute("top") = 220 + "px";
- swt_judg.attribute("top") = 240 + "px";
- grp_batjudg.attribute("top") = 150 + "px";
- grd_rsltlst.attribute("height") = 214 + "px";
- }
- }
-
- function fSetGridInitState(vGrdObj){
- if(vGrdObj == null ) return ;
-
- vGrdObj.rebuildStyle();
- vGrdObj.refresh();
- var cnt = vGrdObj.rows;
-
- for( var i = 1 ; i <= cnt ; i++){
- var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
- var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
- var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
- // 기준치에 따른 색깔변경
- if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ff7a85";
- }
- if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ccffcc";
- }
-
- //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
- if(testrslt != ""){
- if(!isNaN(testrslt)){
- if(low != ""){
- if(eval(testrslt) < eval(low)){
- vGrdObj.cellStyle("background-color", i, 7) = "#ccffcc";
- }
- }
- if(high != ""){
- if(eval(testrslt) > eval(high)){
- vGrdObj.cellStyle("background-color", i, 7) = "#ff7a85";
- }
- }
- }
- }else{
- continue;
- }
- }
- vGrdObj.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_rslt2" visibility="hidden" style="left:465px; top:50px; width:295px; height:245px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <datagrid id="datagrid1" nodeset="/root/main/tempinfo/choilst/item4" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 35, 200" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox" visibility="hidden"/>
- <col ref="rsltcd" visibility="visible"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fAddRsltChoi();
- grp_rslt2.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_secondjudg" class="btn_sw" group="tab" style="left:160px; top:189px; width:90px; height:22px; ">
- <caption>대장내시경</caption>
- <toggle case="case_second" ev:event="onclick"/>
- </button>
- <group id="grp_textrslt" visibility="hidden" style="left:365px; top:25px; width:295px; height:300px; ">
- <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
- <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt ) {
- model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // grp_textrslt.visible = false;
- ]]>
- </script>
- <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
- <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
- <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt ) {
- var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
- if( idx < 0) return ;
- model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
- if( grd_rsltlst.rowStatus(idx) == 0 ) {
- grd_rsltlst.rowStatus(idx) = 2;
- }
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <switch id="swt_judg" style="left:5px; top:210px; width:764px; height:323px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_first" selected="true">
- <line id="line7" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
- <line id="line5" class="line_1" style="x1:5px; y1:1px; x2:755px; y2:1px; "/>
- <caption id="caption22" class="cell_1" style="left:587px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">기준치</caption>
- <caption id="caption17" class="cell_1" style="left:160px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">검사방법</caption>
- <caption id="caption3" class="cell_2" style="left:5px; top:32px; width:60px; height:261px; text-align:center; vertical-align:middle; ">
- <![CDATA[결장
- 이중조영]]>
- </caption>
- <caption id="caption4" class="cell_2" style="left:5px; top:6px; width:152px; height:23px; text-align:center; vertical-align:middle; ">분별잠혈 반응검사</caption>
- <caption id="caption5" class="cell_1" style="left:67px; top:33px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견1</caption>
- <caption id="caption6" class="cell_1" style="left:67px; top:59px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
- <caption id="caption7" class="cell_1" style="left:67px; top:107px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견2</caption>
- <caption id="caption8" class="cell_1" style="left:67px; top:133px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
- <caption id="caption9" class="cell_1" style="left:67px; top:181px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견3</caption>
- <caption id="caption10" class="cell_1" style="left:67px; top:207px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
- <caption id="caption12" class="cell_1" style="left:67px; top:255px; width:90px; height:38px; text-align:center; vertical-align:middle; ">판독소견 기타</caption>
- <line id="line9" class="line_2" style="x1:67px; y1:56px; x2:755px; y2:56px; "/>
- <line id="line10" class="line_2" style="x1:67px; y1:104px; x2:755px; y2:104px; "/>
- <line id="line11" class="line_2" style="x1:67px; y1:130px; x2:755px; y2:130px; "/>
- <line id="line12" class="line_2" style="x1:67px; y1:178px; x2:755px; y2:178px; "/>
- <line id="line13" class="line_2" style="x1:67px; y1:204px; x2:755px; y2:204px; "/>
- <line id="line14" class="line_2" style="x1:67px; y1:252px; x2:755px; y2:252px; "/>
- <caption id="caption11" class="cell_2" style="left:5px; top:296px; width:152px; height:23px; text-align:center; vertical-align:middle; ">대장내시경 검사여부</caption>
- <line id="line15" class="line_2" style="x1:5px; y1:293px; x2:755px; y2:293px; "/>
- <caption id="caption13" class="cell_1" style="left:325px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">결과</caption>
- <select1 id="cmb_reactexammthd" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexammthd" appearance="minimal" style="left:237px; top:9px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/reactexammthdlst/G029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_reactexamrslt" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexamrslt" appearance="minimal" style="left:403px; top:9px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/reactexamrsltlst/G030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexamrsltval" style="left:485px; top:9px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption14" style="left:540px; top:9px; width:35px; height:19px; ">Ng/ml</caption>
- <caption id="caption15" style="left:720px; top:9px; width:35px; height:19px; ">Ng/ml</caption>
- <input id="input2" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexamrsltbval" style="left:665px; top:9px; width:50px; height:19px; text-align:right; "/>
- <select1 id="rdo_colonreadcmt1" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt1" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:160px; top:35px; width:425px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var colonreadcmt1 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt1");
- var bol = isSearchString(colonreadcmt1 ,"2");
- if (bol == true) {
- ipt_colonreadcmtpolyp1.disabled = false;
- } else {
- ipt_colonreadcmtpolyp1.disabled = true;
- ipt_colonreadcmtpolyp1.value = "";
- ipt_colonreadcmtpolyp1.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption16" style="left:720px; top:35px; width:25px; height:19px; ">mm</caption>
- <input id="ipt_colonreadcmtpolyp1" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtpolyp1" disabled="true" style="left:665px; top:35px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption18" style="left:720px; top:109px; width:25px; height:19px; ">mm</caption>
- <input id="ipt_colonreadcmtpolyp2" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtpolyp2" disabled="true" style="left:665px; top:109px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption19" style="left:720px; top:183px; width:25px; height:19px; ">mm</caption>
- <input id="ipt_colonreadcmtpolyp3" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtpolyp3" disabled="true" style="left:665px; top:183px; width:50px; height:19px; text-align:right; "/>
- <select id="chk_colonsickpos1" ref="/root/main/acptinfo/judginfo/licncrjudg/colonsickpos1" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:59px; width:590px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select1 id="rdo_colonreadcmt2" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt2" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:160px; top:109px; width:425px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- var colonreadcmt2 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt2");
- if (colonreadcmt2 == "02") {
- ipt_colonreadcmtpolyp2.disabled = false;
- } else {
- ipt_colonreadcmtpolyp2.disabled = true;
- } */
- ]]>
- </script>
- </select1>
- <select id="chk_colonsickpos2" ref="/root/main/acptinfo/judginfo/licncrjudg/colonsickpos2" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:133px; width:590px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select1 id="rdo_colonreadcmt3" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt3" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:160px; top:183px; width:425px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- var colonreadcmt3 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt3");
- if (colonreadcmt3 == "02") {
- ipt_colonreadcmtpolyp3.disabled = false;
- } else {
- ipt_colonreadcmtpolyp3.disabled = true;
- }*/
- ]]>
- </script>
- </select1>
- <select id="chk_colonsickpos3" ref="/root/main/acptinfo/judginfo/licncrjudg/colonsickpos3" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:207px; width:590px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="chk_colonreadcmtetc" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetc" overflow="visible" appearance="full" cols="6" style="left:160px; top:258px; width:590px; height:35px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtetclst/G034">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var colonreadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetc");
- var bol = isSearchString(colonreadcmtetc ,"10");
- if (bol == true) {
- ipt_colonreadcmtetcrem.disabled = false;
- } else {
- ipt_colonreadcmtetcrem.disabled = true;
- }
- ]]>
- </script>
- </select>
- <select1 id="radio2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopetestyn" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:160px; top:299px; width:500px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/liescopetestynlst/G035">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_colonreadcmtetcrem" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetcrem" style="left:500px; top:275px; width:255px; height:19px; "/>
- <caption id="caption44" style="left:600px; top:35px; width:64px; height:19px; ">※대장용종</caption>
- <caption id="caption45" style="left:600px; top:109px; width:64px; height:19px; ">※대장용종</caption>
- <caption id="caption46" style="left:600px; top:183px; width:64px; height:19px; ">※대장용종</caption>
- </case>
- <case id="case_second">
- <line id="line26" class="line_1" style="x1:5px; y1:1px; x2:757px; y2:1px; "/>
- <line id="line2" class="line_2" style="x1:67px; y1:29px; x2:755px; y2:29px; "/>
- <line id="line4" class="line_2" style="x1:67px; y1:103px; x2:755px; y2:103px; "/>
- <line id="line6" class="line_2" style="x1:67px; y1:151px; x2:755px; y2:151px; "/>
- <line id="line16" class="line_2" style="x1:67px; y1:177px; x2:755px; y2:177px; "/>
- <caption id="caption2" class="cell_1" style="left:67px; top:180px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
- <caption id="caption20" class="cell_2" style="left:5px; top:276px; width:152px; height:23px; text-align:center; vertical-align:middle; ">조직검사 필요여부</caption>
- <line id="line17" class="line_2" style="x1:67px; y1:180px; x2:755px; y2:180px; "/>
- <line id="line18" class="line_2" style="x1:5px; y1:273px; x2:755px; y2:273px; "/>
- <caption id="caption21" class="cell_1" style="left:67px; top:228px; width:90px; height:45px; text-align:center; vertical-align:middle; ">판독소견 기타</caption>
- <caption id="caption23" class="cell_2" style="left:5px; top:6px; width:60px; height:267px; text-align:center; vertical-align:middle; ">
- <![CDATA[대장
- 내시경]]>
- </caption>
- <select1 id="rdo_liescopereadcmt1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt1" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:160px; top:9px; width:340px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var liescopereadcmt1 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt1");
- var bol = isSearchString(liescopereadcmt1 ,"2");
- if (bol == true) {
- ipt_liescopereadcmtpolyp1.disabled = false;
- cmb_liescopereadcmtexcision1.disabled = false;
- } else {
- ipt_liescopereadcmtpolyp1.disabled = true;
- ipt_liescopereadcmtpolyp1.value = "";
- cmb_liescopereadcmtexcision1.disabled = true;
- cmb_liescopereadcmtexcision1.value = "";
- ipt_liescopereadcmtpolyp1.refresh();
- cmb_liescopereadcmtexcision1.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_liescopereadcmtpolyp1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtpolyp1" disabled="true" style="left:570px; top:8px; width:35px; height:19px; "/>
- <select1 id="cmb_liescopereadcmtexcision1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtexcision1" disabled="true" appearance="minimal" style="left:685px; top:8px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/liescopereadcmtexcisionlst/G036">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_liescopesickpos1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopesickpos1" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:34px; width:590px; height:43px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption24" class="cell_1" style="left:67px; top:6px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견1</caption>
- <select1 id="rdo_tissexamyn" ref="/root/main/acptinfo/judginfo/licncrjudg/tissexamyn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:160px; top:280px; width:500px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/liescopetestynlst/G035">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption25" class="cell_1" style="left:67px; top:32px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
- <caption id="caption26" style="left:607px; top:8px; width:76px; height:19px; ">mm, 절제처치</caption>
- <caption id="caption27" class="cell_1" style="left:67px; top:80px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견2</caption>
- <caption id="caption28" class="cell_1" style="left:67px; top:106px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
- <caption id="caption30" class="cell_1" style="left:67px; top:154px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견3</caption>
- <line id="line20" class="line_3" style="x1:5px; y1:300px; x2:755px; y2:300px; "/>
- <select1 id="rdo_liescopereadcmt2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt2" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:160px; top:83px; width:340px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var liescopereadcmt2 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt2");
- if(liescopereadcmt2.length < 2){
- liescopereadcmt2 = "0" + liescopereadcmt2;
- }
- if (liescopereadcmt2 == "02") {
- ipt_liescopereadcmtpolyp2.disabled = false;
- cmb_liescopereadcmtexcision2.disabled = false;
- } else {
- ipt_liescopereadcmtpolyp2.disabled = true;
- cmb_liescopereadcmtexcision2.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption29" style="left:607px; top:82px; width:76px; height:19px; ">mm, 절제처치</caption>
- <select1 id="cmb_liescopereadcmtexcision2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtexcision2" disabled="true" appearance="minimal" style="left:685px; top:82px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/liescopereadcmtexcisionlst/G036">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_liescopesickpos2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopesickpos2" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:108px; width:590px; height:43px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select1 id="rdo_liescopereadcmt3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt3" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:160px; top:157px; width:340px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var liescopereadcmt3 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt3");
- if(liescopereadcmt3.length < 2){
- liescopereadcmt3 = "0" + liescopereadcmt3;
- }
- if (liescopereadcmt3 == "02") {
- ipt_liescopereadcmtpolyp3.disabled = false;
- cmb_liescopereadcmtexcision3.disabled = false;
- } else {
- ipt_liescopereadcmtpolyp3.disabled = true;
- cmb_liescopereadcmtexcision3.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_liescopereadcmtpolyp3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtpolyp3" disabled="true" style="left:570px; top:156px; width:35px; height:19px; "/>
- <caption id="caption31" style="left:607px; top:156px; width:76px; height:19px; ">mm, 절제처치</caption>
- <select1 id="cmb_liescopereadcmtexcision3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtexcision3" disabled="true" appearance="minimal" style="left:685px; top:156px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/liescopereadcmtexcisionlst/G036">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_liescopesickpos3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopesickpos3" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:182px; width:590px; height:43px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="chk_liescopereadcmtetc" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetc" overflow="visible" appearance="full" cols="5" vcellspacing="5" style="left:160px; top:230px; width:590px; height:43px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/colonreadcmtetclst/G034">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var liescopereadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetc");
- var bol = isSearchString(liescopereadcmtetc ,"10");
- if (bol == true) {
- ipt_liescopereadcmtetcrem.disabled = false;
- } else {
- ipt_liescopereadcmtetcrem.disabled = true;
- }
- ]]>
- </script>
- </select>
- <input id="ipt_liescopereadcmtpolyp2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtpolyp2" disabled="true" style="left:570px; top:82px; width:35px; height:19px; "/>
- <line id="line29" class="line_2" style="x1:67px; y1:77px; x2:755px; y2:77px; "/>
- <input id="ipt_liescopereadcmtetcrem" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetcrem" style="left:595px; top:254px; width:155px; height:19px; "/>
- <caption id="caption35" style="left:505px; top:8px; width:64px; height:19px; ">※대장용종</caption>
- <caption id="caption42" style="left:505px; top:82px; width:64px; height:19px; ">※대장용종</caption>
- <caption id="caption43" style="left:505px; top:156px; width:64px; height:19px; ">※대장용종</caption>
- </case>
- <case id="case_lifejudg">
- <line id="line8" class="line_1" style="x1:5px; y1:1px; x2:757px; y2:1px; "/>
- <caption id="caption32" class="cell_1" style="left:5px; top:6px; width:152px; height:23px; text-align:center; vertical-align:middle; ">병리조직검사갯수</caption>
- <select1 id="cmb_tissdiagpathotissexamcnt" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagpathotissexamcnt" appearance="minimal" style="left:160px; top:8px; width:157px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/tissdiagpathotissexamcntlst/G037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line21" class="line_2" style="x1:5px; y1:29px; x2:755px; y2:29px; "/>
- <caption id="caption34" class="cell_1" style="left:5px; top:32px; width:152px; height:45px; text-align:center; vertical-align:middle; ">관찰소견</caption>
- <select1 id="radio8" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagobscmt" appearance="full" cellspacing="15" cols="4" vcellspacing="5" overflow="visible" style="left:160px; top:32px; width:595px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/tissdiagobscmtlst/G038">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line22" class="line_2" style="x1:5px; y1:77px; x2:755px; y2:77px; "/>
- <line id="line23" class="line_3" style="x1:5px; y1:196px; x2:755px; y2:196px; "/>
- <caption id="caption33" class="cell_1" style="left:5px; top:150px; width:152px; height:45px; text-align:center; vertical-align:middle; ">기타</caption>
- <line id="line24" class="line_2" style="x1:5px; y1:147px; x2:755px; y2:147px; "/>
- <select id="chk_tissdiagcncr" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncr" overflow="visible" appearance="full" cellspacing="15" cols="5" vcellspacing="5" style="left:160px; top:82px; width:595px; height:65px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/tissdiagcncrlst/G039">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var tissdiagcncr = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncr");
- var bol = isSearchString(tissdiagcncr ,"11");
- if (bol == true) {
- ipt_tissdiagcncrrem.disabled = false;
- } else {
- ipt_tissdiagcncrrem.disabled = true;
- }
- ]]>
- </script>
- </select>
- <select id="chk_tissdiagetc" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagetc" overflow="visible" appearance="full" cellspacing="15" cols="4" vcellspacing="5" style="left:160px; top:152px; width:595px; height:43px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/tissdiagetclst/G040">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var tissdiagetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagetc");
- if(tissdiagetc.length < 2){
- tissdiagetc = "0" + tissdiagetc;
- }
- var bol = isSearchString(tissdiagetc ,"05");
- if (bol == true) {
- ipt_tissdiagetcrem.disabled = false;
- } else {
- ipt_tissdiagetcrem.disabled = true;
- }
- ]]>
- </script>
- </select>
- <caption id="caption41" class="cell_1" style="left:5px; top:80px; width:152px; height:67px; text-align:center; vertical-align:middle; ">암</caption>
- <input id="ipt_tissdiagcncrrem" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncrrem" style="left:255px; top:125px; width:495px; height:19px; "/>
- <input id="ipt_tissdiagetcrem" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagetcrem" style="left:255px; top:174px; width:495px; height:19px; "/>
- </case>
- <case id="case_oral">
- <line id="line31" class="line_1" style="x1:5px; y1:1px; x2:755px; y2:1px; "/>
- <caption id="caption36" class="cell_1" style="left:383px; top:6px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
- <caption id="caption37" class="cell_1" style="left:5px; top:6px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <select1 id="cmb_scndjudgdrid" ref="/root/main/acptinfo/judginfo/licncrjudg/judgdrid" class="combo" appearance="minimal" style="left:505px; top:8px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input9" ref="/root/main/acptinfo/judginfo/licncrjudg/judgdd" class="input_essential" disabled="true" inputtype="date" style="left:127px; top:8px; width:110px; height:19px; "/>
- <line id="line25" class="line_2" style="x1:5px; y1:29px; x2:755px; y2:29px; "/>
- <select1 id="rdo_judgcolonflag" ref="/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag" appearance="full" cellspacing="20" cols="4" vcellspacing="5" overflow="visible" style="left:127px; top:32px; width:628px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/judgcolonflaglst/G041">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var judgcolonflag = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag");
- if (judgcolonflag == "05" || judgcolonflag == "5") {
- ipt_judgcolonflagrem.disabled = false;
- } else {
- ipt_judgcolonflagrem.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_judgreactflag" ref="/root/main/acptinfo/judginfo/licncrjudg/judgreactflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:127px; top:80px; width:500px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/reactexamrsltlst/G030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line27" class="line_2" style="x1:5px; y1:122px; x2:755px; y2:122px; "/>
- <caption id="caption38" class="cell_1" style="left:5px; top:32px; width:120px; height:90px; text-align:center; vertical-align:middle; ">판정구분</caption>
- <bool id="bol_oldlicncrpatyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/licncrjudg/oldlicncrpatyn" style="left:127px; top:103px; width:15px; height:15px; border-style:none; "/>
- <caption id="caption39" style="left:145px; top:102px; width:130px; height:20px; ">기존 대장암암환자여부</caption>
- <caption id="caption40" class="cell_1" style="left:5px; top:125px; width:120px; height:55px; text-align:center; vertical-align:middle; ">권고사항</caption>
- <line id="line28" class="line_2" style="x1:5px; y1:180px; x2:755px; y2:180px; "/>
- <textarea id="textarea1" ref="/root/main/acptinfo/judginfo/licncrjudg/judgexamcnts" style="left:127px; top:128px; width:628px; height:48px; "/>
- <input id="ipt_judgcolonflagrem" ref="/root/main/acptinfo/judginfo/licncrjudg/judgcolonflagrem" disabled="true" style="left:190px; top:57px; width:565px; height:19px; "/>
- <button id="btn_largejudge" class="btn2_letter4" style="left:30px; top:140px; width:64px; height:19px; ">
- <caption>권고사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(textarea1,"G012");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_judg" class="btn5_letter4" style="left:705px; top:190px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("판정내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveJudg("J");
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter4" style="left:640px; top:190px; width:64px; height:19px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("결과내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveJudg("R");
- //fSaveRsltInfo("J");
- }
- ]]>
- </script>
- </button>
- <button id="btn_batjudgview" class="btn2_letter4" style="left:575px; top:190px; width:64px; height:19px; ">
- <caption>일괄판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitBatchLicncr();
- grp_batjudg.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_fstjudg" class="btn_sw" group="tab" selected="true" style="left:5px; top:189px; width:155px; height:22px; ">
- <caption>분별잠혈및결장이중조영</caption>
- <toggle case="case_first" ev:event="onclick"/>
- </button>
- <button id="button4" class="btn_sw" group="tab" style="left:340px; top:189px; width:90px; height:22px; ">
- <caption>판정 및 권고</caption>
- <toggle case="case_oral" ev:event="onclick"/>
- </button>
- <button id="btn_lifejudg" class="btn_sw" group="tab" style="left:250px; top:189px; width:90px; height:22px; ">
- <caption>조직진단</caption>
- <toggle case="case_lifejudg" ev:event="onclick"/>
- </button>
- <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" caption="처방일자^실시처방
유일번호^처방번호^검사코드^명칭^연계결과^결과^공단연계^단위^종류^비고^판정코드^판정값^LIS판정^Low^High" colsep="^" colwidth="70, 69, 63, 74, 105, 71, 136, 76, 58, 43, 67, 80, 65, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:5px; top:1px; width:764px; height:184px; ">
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="outtestrsltcnts"/>
- <col ref="testrsltcnts" type="input"/>
- <col ref="assorsltcnts" type="input"/>
- <col ref="rsltunit"/>
- <col disabled="true" ref="rsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
- <col ref="judgcd" visibility="hidden"/>
- <col ref="judgrsltcnts" visibility="visible"/>
- <col ref="judgmark" visibility="hidden"/>
- <col ref="minval"/>
- <col ref="maxval"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (event.keyCode == 13 ){
- grp_asso.visible = false;
- if(grd_assorsltlst.rows != 1){
- for(var i=grd_assorsltlst.rows; i>=grd_assorsltlst.fixedRows; i--){
- grd_assorsltlst.deleteRow(i);
- }
- }
-
- if (grd_rsltlst.col == window.parent.javascript.col_rslt ) {
- //선택형검사결과의 결과컬럼
- if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
- var cdata = fdataValue(vtestcd,vsubcd);
- if (cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata; //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts"));
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- }
- }
-
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){
- var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
- var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
- var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
-
- if(maxval < testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
- } else
- if(minval > testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
- } else {
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
- }
- }
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("testrsltcnts"));
- window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("testrsltcnts"));
- }
- else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
- //선택형검사결과의 공단결과
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
- var cdata = fdataValueAsso(vtestcd,vsubcd);
- if(cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
- }
- }
- // window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- /*검사결과 자동계산*/
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts"));
- //window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts"));
- }
- grd_rsltlst.row = grd_rsltlst.row +1;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O" && grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts")){
- var testcd = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testcd"));
-
- model.removeNodeset("/root/main/tempinfo/assorsltlst/itemasso");
- grd_assorsltlst.rebuild();
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
- for (var i=0; i<=nodeCount;i++){
- if (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+ i +"]/testcd") == testcd){
- grd_assorsltlst.addRow();
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltcd");
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }
- }
- grp_asso.visible = true;
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_batjudg" visibility="hidden" style="left:10px; top:120px; width:754px; height:63px; ">
- <line id="line3" class="line_1" style="x1:0px; y1:2px; x2:750px; y2:2px; "/>
- <select1 id="combo1" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexamrslt" appearance="minimal" style="left:393px; top:10px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/reactexamrsltlst/G030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption47" class="cell_1" style="left:582px; top:7px; width:75px; height:23px; text-align:center; vertical-align:middle; ">기준치</caption>
- <caption id="caption48" class="cell_1" style="left:315px; top:7px; width:75px; height:23px; text-align:center; vertical-align:middle; ">결과</caption>
- <caption id="caption49" class="cell_2" style="left:0px; top:7px; width:152px; height:23px; text-align:center; vertical-align:middle; ">분별잠혈 반응검사</caption>
- <caption id="caption50" style="left:530px; top:10px; width:35px; height:19px; ">Ng/ml</caption>
- <caption id="caption51" style="left:715px; top:10px; width:35px; height:19px; ">Ng/ml</caption>
- <input id="input3" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexamrsltval" style="left:475px; top:10px; width:50px; height:19px; text-align:right; "/>
- <input id="input4" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexamrsltbval" style="left:660px; top:10px; width:50px; height:19px; text-align:right; "/>
- <caption id="caption52" class="cell_1" style="left:155px; top:7px; width:75px; height:23px; text-align:center; vertical-align:middle; ">검사방법</caption>
- <line id="line30" class="line_2" style="x1:0px; y1:31px; x2:750px; y2:31px; "/>
- <select1 id="combo2" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexammthd" appearance="minimal" style="left:232px; top:10px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/reactexammthdlst/G029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input5" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/judgdd" class="input_essential" disabled="true" inputtype="date" style="left:67px; top:35px; width:110px; height:19px; "/>
- <select1 id="combo3" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/judgdrid" class="combo" appearance="minimal" style="left:230px; top:35px; width:93px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption53" class="cell_1" style="left:178px; top:33px; width:50px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
- <caption id="caption54" class="cell_1" style="left:0px; top:33px; width:65px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <line id="line32" class="line_1" style="x1:0px; y1:57px; x2:750px; y2:57px; "/>
- <button id="button3" class="btn5_letter4" style="left:574px; top:37px; width:64px; height:19px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("결과내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveBatchJudg("R");
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn5_letter4" style="left:640px; top:37px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("결과내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveBatchJudg("J");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:706px; top:37px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/acptinfo/judginfo/batchlicncrjudg");
- grp_batjudg.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption55" class="cell_1" style="left:328px; top:33px; width:60px; height:23px; text-align:center; vertical-align:middle; ">판정구분</caption>
- <select1 id="rdo_batchjudgcolonflag" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/judgcolonflag" appearance="full" cellspacing="0" cols="1" rows="1" vcellspacing="5" overflow="hidden" style="left:392px; top:36px; width:133px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/judgcolonflaglst/G041">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var judgcolonflag = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag");
- if (judgcolonflag == "05") {
- ipt_judgcolonflagrem.disabled = false;
- } else {
- ipt_judgcolonflagrem.disabled = true;
- }
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_small" class="icon_top" style="left:5px; top:1px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(false);
- ]]>
- </script>
- </button>
- <button id="btn_large" class="icon_bottom" style="left:5px; top:1px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(true);
- ]]>
- </script>
- </button>
- <group id="grp_asso" visibility="hidden" style="left:80px; top:55px; width:275px; height:245px; ">
- <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
- <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 185" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:265px; height:215px; ">
- <col ref="rsltcd"/>
- <col ref="rsltnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //그리드의 셀 이외의 곳을 클릭하면 종료한다.
- if(!eval(grd_assorsltlst.iscell(event.target))) return false;
- // 그리드의 헤더부분을 클릭하면 종료한다.
- if(eval(grd_assorsltlst.row) < eval(grd_assorsltlst.fixedRows)) return false;
-
- var idx = grd_assorsltlst.row;
- if( idx < 1) return ;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltnm" );
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltcd" );
- grd_rsltlst.rowStatus(grd_rsltlst.row) = 2;
-
- var nextRow = grd_rsltlst.row + 1
- if(grd_rsltlst.colType(grd_rsltlst.col) == "input" && nextRow < grd_rsltlst.rows) {
- grd_rsltlst.row = nextRow;
- grd_rsltlst.editCell();
- }
-
- if(grd_rsltlst.valueMatrix(nextRow, grd_rsltlst.colRef("rsltflag")) != "O"){
- grp_asso.visible = false;
- }else{
- grp_asso.visible = true;
- }
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:270px; y2:20px; "/>
- <button id="btn_assoclose" class="icon_plus" style="left:255px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_asso.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|